package view.ui 
{
	import comp.display.Label;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.text.TextFormat;
	
	/**
	 * ...
	 * @author Qi Donghui
	 */
	public class MainNav extends Sprite 
	{		
		public function MainNav() 
		{
			addEventListener(Event.ADDED_TO_STAGE, init);
		}
		
		private function init(e:Event):void 
		{
			removeEventListener(Event.ADDED_TO_STAGE, init);
			
			var bg:SKmainNavBg = new SKmainNavBg();
			addChild(bg);
			
			var tf:TextFormat = new TextFormat();
			tf.size = 14;
			tf.color = 0xffffff;
			tf.bold = true;
			var l:Label = new Label(this, 17, 13, "主页", tf);
			
			var tf2:TextFormat = new TextFormat();
			tf2.size = 14;
			tf2.color = 0xf5d20f;
			tf2.bold = true;
			var l2:Label = new Label(this, 84, 13, "单词er", tf2);
		}
		
	}

}